package com.service;

import com.domain.User;

import java.util.Map;

public interface UserServiceInterface {

    Map login(String openid);
    User register(String openid);
    User getUser(String openid);
    Integer getUserId(String openid);
    Boolean changeUserAvatar(Integer id, byte[] avatar);
    Boolean changeUserName(Integer id, String userName);
}
